Sheffield Web Programmer

Git undo

May 12, 2019

    git reset –soft HEAD~1

This will undo the last commit leaving the files you committed in your local workspace

    git reset --soft HEAD~1